package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.DesignerProjectItemsProductCustom;
import com.ecoolex.ying.space.entity.DesignerProjectItemsProductCustomExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface DesignerProjectItemsProductCustomMapper {
    long countByExample(DesignerProjectItemsProductCustomExample example);

    int deleteByExample(DesignerProjectItemsProductCustomExample example);

    int deleteByPrimaryKey(Integer itemsProductId);

    int insert(DesignerProjectItemsProductCustom record);

    int insertSelective(@Param("record") DesignerProjectItemsProductCustom record, @Param("selective") DesignerProjectItemsProductCustom.Column ... selective);

    DesignerProjectItemsProductCustom selectOneByExample(DesignerProjectItemsProductCustomExample example);

    List<DesignerProjectItemsProductCustom> selectByExample(DesignerProjectItemsProductCustomExample example);

    DesignerProjectItemsProductCustom selectByPrimaryKey(Integer itemsProductId);

    DesignerProjectItemsProductCustom selectByPrimaryKeyWithLogicalDelete(@Param("itemsProductId") Integer itemsProductId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") DesignerProjectItemsProductCustom record, @Param("example") DesignerProjectItemsProductCustomExample example, @Param("selective") DesignerProjectItemsProductCustom.Column ... selective);

    int updateByExample(@Param("record") DesignerProjectItemsProductCustom record, @Param("example") DesignerProjectItemsProductCustomExample example);

    int updateByPrimaryKeySelective(@Param("record") DesignerProjectItemsProductCustom record, @Param("selective") DesignerProjectItemsProductCustom.Column ... selective);

    int updateByPrimaryKey(DesignerProjectItemsProductCustom record);

    int batchInsert(@Param("list") List<DesignerProjectItemsProductCustom> list);

    int batchInsertSelective(@Param("list") List<DesignerProjectItemsProductCustom> list, @Param("selective") DesignerProjectItemsProductCustom.Column ... selective);

    int logicalDeleteByExample(@Param("example") DesignerProjectItemsProductCustomExample example);

    int logicalDeleteByPrimaryKey(Integer itemsProductId);
}